/*
 * Created by JFormDesigner on Mon Mar 01 16:07:23 CST 2021
 */

package com.company;

import java.awt.*;
import javax.swing.*;

/**
 * @author test
 */
public class FirstForm extends JPanel {
    public FirstForm() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        // Generated using JFormDesigner Evaluation license - test
        button1 = new JButton();
        button2 = new JButton();

        //======== this ========
        setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(new
        javax.swing.border.EmptyBorder(0,0,0,0), "JF\u006frmD\u0065sig\u006eer \u0045val\u0075ati\u006fn",javax
        .swing.border.TitledBorder.CENTER,javax.swing.border.TitledBorder.BOTTOM,new java
        .awt.Font("Dia\u006cog",java.awt.Font.BOLD,12),java.awt
        .Color.red), getBorder())); addPropertyChangeListener(new java.beans.
        PropertyChangeListener(){@Override public void propertyChange(java.beans.PropertyChangeEvent e){if("\u0062ord\u0065r".
        equals(e.getPropertyName()))throw new RuntimeException();}});
        setLayout(null);

        //---- button1 ----
        button1.setText("\u786e\u5b9a");
        button1.setFont(new Font("\u6977\u4f53", Font.PLAIN, 24));
        add(button1);
        button1.setBounds(155, 180, 370, 215);

        //---- button2 ----
        button2.setText("test");
        add(button2);
        button2.setBounds(new Rectangle(new Point(235, 115), button2.getPreferredSize()));

        setPreferredSize(new Dimension(615, 500));
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    // Generated using JFormDesigner Evaluation license - test
    private JButton button1;
    private JButton button2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
